<template>
    <div id="login">
      <img id="logo" src="./assets/logo.png"/>
      <el-row>
        <el-input v-model="input" placeholder="用户名"></el-input>
      </el-row>
      <el-row>
        <el-input v-model="input" type="password" placeholder="密码"></el-input>
      </el-row>
      <el-row>
        性别
        <el-radio v-model="radio" label="1">备选项</el-radio>
        <el-radio v-model="radio" label="2">备选项</el-radio>
      </el-row>
      <el-row>
        <el-button type="primary" @click.native="regist">注册</el-button>
      </el-row>
    </div>
</template>

<script>
    export default {
        name: "Login",data() {
        return {
        }
      },
      methods:{
            regist:function () {
              this.$router.push('register');
            }
        }
    }
</script>

<style scoped>
  #logo{
  }
  .el-input{
    padding: 10px;
    width: 50%;
  }
</style>
